package org.jeecg.modules.geek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 广告表
 * @Author: jeecg-boot
 * @Date:   2025-08-08
 * @Version: V1.0
 */
@Data
@TableName("db_advertisement")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="广告表")
public class DbAdvertisement implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @Schema(description = "标题")
    private java.lang.String adTitle;
	/**图片/视频*/
	@Excel(name = "图片/视频", width = 15)
    @Schema(description = "图片/视频")
    private java.lang.String url;
	/**广告类型*/
	@Excel(name = "广告类型", width = 15, dicCode = "ad_type")
	@Dict(dicCode = "ad_type")
    @Schema(description = "广告类型")
    private java.lang.String type;
	/**广告状态*/
	@Excel(name = "广告状态", width = 15, dicCode = "ad_status")
	@Dict(dicCode = "ad_status")
    @Schema(description = "广告状态")
    private java.lang.String status;
	/**广告位置*/
	@Excel(name = "广告位置", width = 15, dicCode = "ad_position")
	@Dict(dicCode = "ad_position")
    @Schema(description = "广告位置")
    private java.lang.String position;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @Schema(description = "排序")
    private java.lang.Integer sort;
	/**外链*/
	@Excel(name = "外链", width = 15)
    @Schema(description = "外链")
    private java.lang.String link;
	/**点击量*/
	@Excel(name = "点击量", width = 15)
    @Schema(description = "点击量")
    private java.lang.String click;
	/**背景颜色*/
	@Excel(name = "背景颜色", width = 15)
    @Schema(description = "背景颜色")
    private java.lang.String bgColor;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @Schema(description = "描述")
    private java.lang.String description;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
}
